windowsvmstatistics.htmlHTMLudog'&πùΔ§πùΔ§ÅÅò Monkeybread Realbasic plugin - Documentation - WindowsVMStatistics

MBS Plugin Documentation

This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.

This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.

The list of the themes Global methods by category Global methods by name The list of the classes The list of the controls

class WindowsVMStatistics

class, WindowsVMStatistics Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Holds information about the current Windows memory status.

AvailablePageFileMemory as integer

property, WindowsVMStatistics Mo, 15. Jul 2002
Mac OS Classic: -> 0. Mac OS Carbon: -> 0. Windows: Works.
Function: Indicates the number of bytes available in the paging file.

AvailablePhysicalMemory as integer

property, WindowsVMStatistics Mo, 15. Jul 2002
Mac OS Classic: -> 0. Mac OS Carbon: -> 0. Windows: Works.
Function: Indicates the number of bytes of physical memory available.

AvailableVirtualMemory as integer

property, WindowsVMStatistics Mo, 15. Jul 2002
Mac OS Classic: -> 0. Mac OS Carbon: -> 0. Windows: Works.
Function: Indicates the number of bytes of unreserved and uncommitted memory in the user mode portion of the virtual address space of the calling process.

Memoryload as integer

property, WindowsVMStatistics Mo, 15. Jul 2002
Mac OS Classic: -> 0. Mac OS Carbon: -> 0. Windows: Works.
Function: Specifies a number between 0 and 100 that gives a general idea of current memory utilization, in which 0 indicates no memory use and 100 indicates full memory use.

Pagesize as integer

property, WindowsVMStatistics Mo, 15. Jul 2002
Mac OS Classic: -> 0. Mac OS Carbon: -> 0. Windows: Works.
Function: The size of one memory page in memory.
Notes: On Intel 80386 or newer CPUs, it should be 4096 Bytes.

TotalPageFileMemory as integer

property, WindowsVMStatistics Mo, 15. Jul 2002
Mac OS Classic: -> 0. Mac OS Carbon: -> 0. Windows: Works.
Function: Indicates the total number of bytes that can be stored in the paging file. Note that this number does not represent the actual physical size of the paging file on disk.

TotalPhysicalMemory as integer

property, WindowsVMStatistics Mo, 15. Jul 2002
Mac OS Classic: -> 0. Mac OS Carbon: -> 0. Windows: Works.
Function: Indicates the total number of bytes of physical memory.

TotalVirtualMemory as integer

property, WindowsVMStatistics Mo, 15. Jul 2002
Mac OS Classic: -> 0. Mac OS Carbon: -> 0. Windows: Works.
Function: Indicates the total number of bytes that can be described in the user mode portion of the virtual address space of the calling process.

GetWindowsVMStatistics as WindowsVMStatistics

global method, WindowsVMStatistics Mo, 15. Jul 2002
Mac OS Classic: -> nil. Mac OS Carbon: -> nil. Windows: Works.
Function: Returns information about the current memory status on Windows.
Example:
dim w as WindowsVMStatistics

w=GetWindowsVMStatistics
if w<>nil then

pagesize.text=format(w.pagesize,"0")
memoryLoad.text=format(w.memoryLoad,"0")
availablePageFileMemory.text=format(w.availablePageFileMemory,"0")
availablePhysicalMemory.text=format(w.availablePhysicalMemory,"0")
availableVirtualMemory.text=format(w.availableVirtualMemory,"0")
totalPageFileMemory.text=format(w.totalPageFileMemory,"0")
totalPhysicalMemory.text=format(w.totalPhysicalMemory,"0")
totalVirtualMemory.text=format(w.totalVirtualMemory,"0")

else

msgBox "No Windows memory statistics..."
quit
end if

Contact

Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.

This resource fork intentionally left blank ˇˇ